package per.test2;

import org.springframework.context.ApplicationContext;
import org.springframework.context.support.ClassPathXmlApplicationContext;

/**
 * @author joker
 * @date 2022/5/13 0013 - 17:38
 */
public class Test03 {
    public static void main(String[] args) {
        ApplicationContext ioc = new ClassPathXmlApplicationContext("ioc.xml");
        Test02 test02 = ioc.getBean("test02", Test02.class);
        System.out.println(test02.test01);
//        Object test01 = ioc.getBean("test01");
//        System.out.println(test01);
    }
}
